]> dgit.raspbian.org Git - gnome-shell.git/commit
Add a grayscale effect
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 1 Jun 2012 12:36:47 +0000 (08:36 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 6 Jul 2012 19:18:01 +0000 (15:18 -0400)
commit8754b2767c1b54ee882875e0d159d847602e8c6a
tree09ee62004feae92ed49c5efd3cd55576e4ebdbea
parent04fb688f7db514f729ad77f11b30a9e3760ec6e2
Add a grayscale effect

This commit adds a grayscale effect to the magnifier, similar to
the lightness, brightness and contrast effects that are already there.

The effect is configured with the
org.gnome.desktop.a11y.magnifier.color-saturation setting, which
can take values from 0.0 (grayscale) to 1.0 (full color).

Based on a patch by Matthias Clasen <mclasen@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=676782
js/ui/magnifier.js